Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

substrate runner: increase line read + dump CLI output if parsing fails #1781

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

niklasad1
Copy link
Member

No description provided.

@niklasad1 niklasad1 requested a review from a team as a code owner September 23, 2024 08:18
@@ -246,14 +247,18 @@ impl Drop for SubstrateNode {
// locate the port number that is logged out to it.
fn try_find_substrate_port_from_output(
r: impl Read + Send + 'static,
) -> (Option<u16>, Option<String>, Option<u32>) {
) -> (Option<u16>, Option<String>, Option<u32>, String) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: probably itme to make this a named struct :D

Copy link
Collaborator

@jsdw jsdw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice: hopefully that'll make it easier to debug failures!

@niklasad1 niklasad1 changed the title substrate runner: dump CLI output parsing fails substrate runner: increase line readering + dump CLI output if parsing fails Sep 23, 2024
@niklasad1 niklasad1 changed the title substrate runner: increase line readering + dump CLI output if parsing fails substrate runner: increase line read + dump CLI output if parsing fails Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants